#pragma once
#include "Server.h"
#include <vector>
#include <stdlib.h>
#include <stdio.h>
#include <iostream>
#include "ResultInfo.h"
using namespace std;


class ServerRenting
{
private:
	static vector<Server*> m_ServerList;
	static vector<Server*> m_SuperServerList;
	static void initializeServers();
	static void initializeSuperServers();
public:

	ServerRenting(void);
	static void addServer(string servername,float processingspeed, float serviceprice);
	static void addSuperServer(string servername,float processingspeed, float serviceprice);
	static ResultInfo* rentServer(User* userinfo);
	static ResultInfo* rentSuperServer(User* userinfo);
	static void destroyServers();
	virtual ~ServerRenting(void);

};

